var gulp = require("gulp")

var moduleGulp = require('./node_modules/@ctaf/config/gulpfile.js');

gulp.tasks = moduleGulp.tasks;

gulp.task("build.project", function (cb) {
    let config = {
        entry: {
            'ctafwidget_startup': ('./src/entry.ts')
        }
    };

    moduleGulp.buildproject(config, cb);
});

gulp.task("build.demo", function (cb) {
    let config = {
        entry: {
            'page': ['./demo/page.ts']
        }
    };

    moduleGulp.builddemo(config, cb);
});
